.record {
    flex: 1;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
    > li {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: relative;
        min-height: 40px;
        margin-bottom: 10px;
        padding: 5px 50px;
        vertical-align: baseline;
    }
    .avatar {
        height: 40px;
        width: 40px;
        overflow: hidden;
        position: absolute;
        border-radius: 50%;
        left: 0;
        top: 5px;
        > img {
            height: 100%;
            width: 100%;
        }
    }
    .content {
        .username {
            font-size: 12px;
            color: #666;
            padding: 0 0 4px 4px;
        }
        > p {
            padding: 6px 8px;
            display: inline-block;
            width: auto;
            border-radius: 8px;
            line-height: 24px;
            font-size: 14px;
            background-color: #e1e1e1;
            color: #000000;
        }
    }
    .self {
        flex-direction: row-reverse;
        .avatar {
            left: auto;
            right: 0;
        }
        .content {
            .username {
                padding: 0 4px 4px 0;
                text-align: right;
            }
            > p {
                background-color: #4da5eb;
                color: #ffffff;
            }
        }
    }
}